package com.game.majiang.vo;

import java.sql.Types;

import com.game.server.db.Parameter;
import com.game.server.db.ParameterType;
import com.game.server.db.SqlHelper;
import com.game.server.db.SqlHelperwrite;

public class DoudizhuGameLogVo {

	public int uid;
	public  String uname;
	public int win;
	
	public void insertDoudizhuGameLog() {
		
		String sql = "insert into doudizhugamelog(uid,uname,win) value(?,?,?)";
		 Parameter p1 = new Parameter(Types.INTEGER,  uid, ParameterType.Input);
		 Parameter p2 = new Parameter(Types.VARCHAR,  uname, ParameterType.Input);
		 Parameter p3 = new Parameter(Types.INTEGER,  win, ParameterType.Input);
		 SqlHelperwrite.execute(sql, p1,p2,p3);
		 
	}
	
}
